package com.flyco.modules.oms.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import com.flyco.poi.excel.annotation.Excel;

/**
 * @Description: 订单附加
 * @Author: flyco
 * @Date:   2021-07-27
 * @Version: V1.0
 */
@Data
@TableName("oms_order_addition")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="oms_order_addition对象", description="订单附加")
public class OmsOrderAddition {
    
	/**订单id*/
	@TableId(type = IdType.INPUT)
    @ApiModelProperty(value = "订单id")
	private String id;
	/**会员手机号*/
	@Excel(name = "会员手机号", width = 15)
    @ApiModelProperty(value = "会员手机号")
	private String memberPhone;
	/**会员头像*/
	@Excel(name = "会员头像", width = 15)
    @ApiModelProperty(value = "会员头像")
	private String memberIcon;
	/**会员昵称*/
	@Excel(name = "会员昵称", width = 15)
    @ApiModelProperty(value = "会员昵称")
	private String memberNickname;
	/**分销员id*/
	@Excel(name = "分销员id", width = 15)
    @ApiModelProperty(value = "分销员id")
	private Long sponsorId;
	/**推荐人id*/
	@Excel(name = "推荐人id", width = 15)
    @ApiModelProperty(value = "推荐人id")
	private Long sponsorUserId;
	/**类型：1文章，2商品，3其他*/
	@Excel(name = "类型：1文章，2商品，3其他", width = 15)
    @ApiModelProperty(value = "类型：1文章，2商品，3其他")
	private Integer subjectType;
	/**subject_type=1时文章id,=2时产品Sn*/
	@Excel(name = "subject_type=1时文章id,=2时产品Sn", width = 15)
    @ApiModelProperty(value = "subject_type=1时文章id,=2时产品Sn")
	private String subjectCode;
	/**订单商品名称*/
	@Excel(name = "订单商品名称", width = 15)
    @ApiModelProperty(value = "订单商品名称")
	private String productNames;
	/**全局token*/
	@Excel(name = "全局token", width = 15)
    @ApiModelProperty(value = "全局token")
	private String cookieToken;
	/**uuu_id*/
	@Excel(name = "uuu_id", width = 15)
    @ApiModelProperty(value = "uuu_id")
	private String flowId;
	/**ip*/
	@Excel(name = "ip", width = 15)
    @ApiModelProperty(value = "ip")
	private String serverIp;
	/**小票打印次数*/
	@Excel(name = "小票打印次数", width = 15)
    @ApiModelProperty(value = "小票打印次数")
	private Integer printNumber;
	/**场景：minishop*/
	@Excel(name = "场景：minishop", width = 15)
    @ApiModelProperty(value = "场景：minishop")
	private String scene;
	/**用户的openid*/
	@Excel(name = "用户的openid", width = 15)
    @ApiModelProperty(value = "用户的openid")
	private String openId;
}
